<?php 
/**
 * @name a simple MVC framework of PHP 
 * @author crazymus < QQ:291445576 >
 * @licenced Apache2.0
 * @updated 2015-09-20
 */
 
$dir_name = dirname(__FILE__);
 
require($dir_name.'/Core/Controller.class.php');
require($dir_name.'/Core/Model.class.php');
require($dir_name.'/PHPFun.class.php');
require($dir_name.'/Common/functions.php');

//get config
PHPFun::$config = require(APP_PATH.'/Conf/config.php');
PHPFun::$config = array_merge(array(
	//defaults
	'charset' => 'utf-8'
),PHPFun::$config);

?>